vcMaterialDepthComparison

See in: Overview

Module: vcCore

Parent: Enum

Referenced by: vcMaterial.DepthComparison

How to access:

import vcCore as vc
vc.vcMaterialDepthComparison.<ENUM_VALUE> # replace <ENUM_VALUE> with the desired enum value

Enums

ValueDescription
ALWAYSDepth testing passes always, so geometry pixels are rendered.
EQUAL
Testing passes if geometry pixel distance is equal to Z buffer stored value.
GEQUAL
Testing passes if geometry pixel distance is greater than or equal to Z buffer stored value.
GREATER
Testing passes if geometry pixel distance is greater than Z buffer stored value.
LEQUAL
Testing passes if geometry pixel distance is less than or equal to Z buffer stored value.
LESS
Testing passes if geometry pixel distance is less than Z buffer stored value.
NEVERTesting never passes, so geometry pixels are not rendered.
NOTEQUAL
Testing passes if geometry pixel distance is not equal to Z buffer stored value.